package com.shelpe.services.scheduler.po;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;

@Entity(name="users")
public class Users {
	
	@Id
	@Column(name="user_id")
	private Long userId;

    private String type;

    private String nick;

    private String sex;
	
    private String desc;

    private Integer sid;

    private Integer cid;

    private String avatar;

    private String email;
	@Column(name="created_time")
    private Date createdTime;
	@Column(name="updated_time")
    private Date updatedTime;
	
    private String qq;
	
    private String mobile;
	
    private String address;
	
    private String wangwang;
	
    private Byte init;

    private BigDecimal balance;
	@Column(name="shop_score")
    private String shopScore;
	@Column(name="purchased_from")
    private Date purchasedFrom;
	@Column(name="purchase_expires")
    private Date purchaseExpires;
	@Column(name="authorized_to")
    private Long authorizedTo;
	@Column(name="item_code")
    private String itemCode;
	
	public Long getUserId() {
		return userId;
	}
	public void setUserId(Long userId) {
		this.userId = userId;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getNick() {
		return nick;
	}
	public void setNick(String nick) {
		this.nick = nick;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public String getDesc() {
		return desc;
	}
	public void setDesc(String desc) {
		this.desc = desc;
	}
	public Integer getSid() {
		return sid;
	}
	public void setSid(Integer sid) {
		this.sid = sid;
	}
	public Integer getCid() {
		return cid;
	}
	public void setCid(Integer cid) {
		this.cid = cid;
	}
	public String getAvatar() {
		return avatar;
	}
	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public Date getCreatedTime() {
		return createdTime;
	}
	public void setCreatedTime(Date createdTime) {
		this.createdTime = createdTime;
	}
	public Date getUpdatedTime() {
		return updatedTime;
	}
	public void setUpdatedTime(Date updatedTime) {
		this.updatedTime = updatedTime;
	}
	public String getQq() {
		return qq;
	}
	public void setQq(String qq) {
		this.qq = qq;
	}
	public String getMobile() {
		return mobile;
	}
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getWangwang() {
		return wangwang;
	}
	public void setWangwang(String wangwang) {
		this.wangwang = wangwang;
	}
	public Byte getInit() {
		return init;
	}
	public void setInit(Byte init) {
		this.init = init;
	}
	public BigDecimal getBalance() {
		return balance;
	}
	public void setBalance(BigDecimal balance) {
		this.balance = balance;
	}
	public String getShopScore() {
		return shopScore;
	}
	public void setShopScore(String shopScore) {
		this.shopScore = shopScore;
	}
	public Date getPurchasedFrom() {
		return purchasedFrom;
	}
	public void setPurchasedFrom(Date purchasedFrom) {
		this.purchasedFrom = purchasedFrom;
	}
	public Date getPurchaseExpires() {
		return purchaseExpires;
	}
	public void setPurchaseExpires(Date purchaseExpires) {
		this.purchaseExpires = purchaseExpires;
	}
	public Long getAuthorizedTo() {
		return authorizedTo;
	}
	public void setAuthorizedTo(Long authorizedTo) {
		this.authorizedTo = authorizedTo;
	}
	public String getItemCode() {
		return itemCode;
	}
	public void setItemCode(String itemCode) {
		this.itemCode = itemCode;
	}

}
